package com.itheima.dubbo.interfaces;


import com.itheima.commons.pojo.User;

import java.util.List;

public interface UserApi {
    //判断是否为新用户
    User findByPhone(String phone);

    //注册新用户
    User addUser(User user);

}
